<%--
  Created by IntelliJ IDEA.
  User: fire'ge
  Date: 2022/5/5
  Time: 17:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>收藏店铺</title>
    <link rel="stylesheet" href="/TakeawaySystem/css/Show.css" type="text/css">
</head>
<body>
<table id="name-label">
    <tr>
        <td align="center" colspan="4">你好！${user.username}
            <a href="/TakeawaySystem/jsp/UserCenter.jsp">退出</a>  </td>
    </tr>
</table>
    <table>
        <tr>
            <td id= "tableTopic">
                收 藏 店 铺
            </td>
        </tr>
        <c:forEach items="${shops}" var="shop">
            <tr>
                <td class="shopTopic">
                    <a href="/TakeawaySystem/user/showMenu?shopId=${shop.id}">
                            ${shop.shopName}
                    </a>
                </td>
            </tr>
            <tr>
                <td class="description">
                    描述：${shop.description}
                </td>
            </tr>
            <tr>
                <td>
                    <a href="deleteCollect?shopId=${shop.id}">删除</a>
                </td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
